package com.snow.storeapi.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@TableName("SYS_SIM_USER_INFO_100")
public class User {
    private String opCode;

    private String opName;

    private String loginUser;

    private String password;

    private String departId;

    @TableField(exist = false)
    private String departName;

    @TableField(exist = false)
    private List<Role> roles;

    @TableField(exist = false)
    private List<Group> groups;
}